package com.dy.lock.screen.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.dy.lock.screen.dao.DiscoverBannerDao;
import com.dy.lock.screen.pojo.DiscoverBannerInfo;
import com.dy.lock.screen.service.DiscoverBannerService;

@Service("discoverBannerService")
public class DiscoverBannerServiceImpl implements DiscoverBannerService {

	@Resource(name = "discoverBannerDao")
	private DiscoverBannerDao discoverBannerDao;

	@Override
	public DiscoverBannerInfo queryByPrimartKey(String id) {
		// TODO Auto-generated method stub
		return this.discoverBannerDao.queryByPrimartKey(id);
	}

	@Override
	public List<DiscoverBannerInfo> queryPage(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return this.discoverBannerDao.queryT(map);
	}

}
